public class Plus extends Function {
	
	String id = "+";
	
	public Type evaluate(Type ...args) {
		Number sum = new Number();
		if(args.length != 2) {
			//throw exception or return error
		}
		if(args[0] instanceof Number && args[1] instanceof Number){
			sum.setValue(((Number)args[0]).getValue() + ((Number)args[1]).getValue());
		} else {
			//throw syntax error
		}
		return sum;
	}
}
